/*
********************************************************************************
* Copyright (C) 2022, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : visitor_base.h
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2022-03-06 version v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
                Compile command: make
********************************************************************************
*/
#ifndef __VISITOR_BASE_H__
#define __VISITOR_BASE_H__

#include <string>

class CPartGpu;
class CPartSoundCard;

class CVisitorBase
{
public:
    virtual int VisitGpu(CPartGpu *gpu) = 0;

    virtual std::string GetName() = 0;

    virtual int VisitSoundCard(CPartSoundCard *soundCard) = 0;
};

#endif

